import request from '@/utils/request';

export function fetchAiList(docId, page, limit) {
    return request({
        url: '/ai/list',
        method: 'get',
        params: {
            docId: docId,
            page: page,
            limit: limit
        }
    });
}

export function renewAi(ai) {
    return request({
        url: '/ai/renew',
        method: 'post',
        data: ai
    });
}
